package com.lu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lu.domain.AD;

/**
 * @author Administrator
 */
public interface ADMapper {
	int countByExample(Example example);

	int deleteByExample(Example example);

	int deleteByPrimaryKey(Integer adId);

	int insert(AD record);

	int insertSelective(AD record);

	List<AD> selectByExample(Example example);

	AD selectByPrimaryKey(Integer adId);

	int updateByExampleSelective(@Param("record") AD record,@Param("example") Example example);

	int updateByExample(@Param("record") AD record,@Param("example") Example example);

	int updateByPrimaryKeySelective(AD record);

	int updateByPrimaryKey(AD record);
}